"""Definition of the product content type
"""

from zope.interface import implements

try:
    from Products.LinguaPlone import public as atp
except ImportError:
    # No multilingual support
    from Products.Archetypes import atapi as atp

from my315ok.products.interfaces import Iproduct
from my315ok.products.config import PROJECTNAME

from Products.ATContentTypes.content.newsitem import ATNewsItem

class product(ATNewsItem):
    """a product contain multiple photoes and table parameters"""
    portal_type = meta_type = "product"
    implements(Iproduct)

atp.registerType(product, PROJECTNAME)
